def c1():
    1 / 0


def c2():
    c1()


def c3():
    try:
        c2()
    except ZeroDivisionError:
        print('0不能被整除')

c3()  #调用c3出现异常,顺序是从下到上查出问题,解决问题